<?php

class Region extends CWidget {

    public function run() {
        $regions = Yii::app()->params['regions'];
        $currentRegion = $this->getController()->getRegion();        
        $this->render('region', array('regions' => $regions, 'currentRegion' => $currentRegion));
    }

}
